package com.ynyyrj.school.service;

import com.ynyyrj.school.mapper.StuMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StuServiceImp implements StuService{
    @Autowired
    StuMapper stuMapper;
    @Override
    public int Stunum(int school_aid) {
        return stuMapper.Stunum(school_aid);
    }

    @Override
    public int stuMnum(int major_aid) {
        return stuMapper.stuMnum(major_aid);
    }
}
